package com.qs.rocketmq.order.dto;

import java.math.BigDecimal;
import java.util.Date;

public class OrderDTO {
    private String id;

    private String productId;

    private String userId;

    private String couponId;

    private String orderSn;

    private Date createTime;

    private BigDecimal totalAmount;

    private BigDecimal payAmount;

    private BigDecimal couponAmount;

    private String status;

    private Date modifyTime;

    private String transactionId;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getCouponId() {
        return couponId;
    }

    public void setCouponId(String couponId) {
        this.couponId = couponId;
    }

    public String getOrderSn() {
        return orderSn;
    }

    public void setOrderSn(String orderSn) {
        this.orderSn = orderSn;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public BigDecimal getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(BigDecimal totalAmount) {
        this.totalAmount = totalAmount;
    }

    public BigDecimal getPayAmount() {
        return payAmount;
    }

    public void setPayAmount(BigDecimal payAmount) {
        this.payAmount = payAmount;
    }

    public BigDecimal getCouponAmount() {
        return couponAmount;
    }

    public void setCouponAmount(BigDecimal couponAmount) {
        this.couponAmount = couponAmount;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getTransactionId() {
        return transactionId;
    }

    public void setTransactionId(String transactionId) {
        this.transactionId = transactionId;
    }

    @Override
    public String toString() {
        return "OrderDTO111{" +
                "id='" + id + '\'' +
                ", productId='" + productId + '\'' +
                ", userId='" + userId + '\'' +
                ", couponId='" + couponId + '\'' +
                ", orderSn='" + orderSn + '\'' +
                ", createTime=" + createTime +
                ", totalAmount=" + totalAmount +
                ", payAmount=" + payAmount +
                ", couponAmount=" + couponAmount +
                ", status='" + status + '\'' +
                ", modifyTime=" + modifyTime +
                ", transactionId='" + transactionId + '\'' +
                '}';
    }
}
